/**
 * Position Data Interface
 */
package com.idstrust.wiseone.sg.wisehr.common.util;

import java.sql.Connection;
import java.sql.PreparedStatement;

public class InitPassword {

   
    String            userid       = "jinwoopark";
    String            password     = "1004";
    String            HashPassword = "a7/cAhTQJW2hRDXKV4gqrGmA";
    String            company_code = "00092";
    //String            tor1030      = "wo" + company_code + ".tor1030";
    String            tor1030      = "wo00092.tor1030";
    
    public static void main(String[] args) {
        InitPassword ip = new InitPassword();
        ip.run();
    }

    private void run() {
        try {
            HashPassword = DigetUtil.digestString(this.password, "SHA");
        	//HashPassword = DigetUtil.unDigestString(HashPassword, "SHA");
            System.out.println("[PASSWORD] : " + HashPassword);
            //updatePassword();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
